#pragma once

class Mouvable {
private:
	int initialX;
	int initialY;
	int current_posY;
	int current_posX;

protected:
	//permet à la classe ghost d'accèder à ces valeurs(nécessaire pour la méthode defineDirection())
	double deplacementX;
	double deplacementY;
	int currentDirection;

public:
	Mouvable(int posY = 0, int posX = 0, int deplacementX = 0);
	int getCurrentDirection() const;
	int getCurrentPosX() const;
	int getCurrentPosY() const;
	double getDeplacementX() const;
	double getDeplacementY() const;
	int getInitialX() const;
	int getInitialY() const;
	void setCurrentDirection(int currentDirection);
	void setCurrentPosX(int currentPosX);
	void setCurrentPosY(int currentPosY);
	void setDeplacementX(int deplacementX);
	void setDeplacementY(int deplacementY);
	void setInitialX(int initialX);
	void setInitialY(int initialY);
};

